//获取商品展示列表
import axios from "@/utils/request";

//商品列表
export const getGoodsList = (number) => {
  return axios({
    url: '/api/getgoods?pageindex=' + number
  });
}


//商品参数价格
export const getinfo = (id) => {
  return axios({
    url: '/api/goods/getinfo/' + id
  });
}

//轮播图id
export const getimg = (id) => {
  return axios({
    url: '/api/getthumimages/' + id
  });
}


// 商品图文介绍
export const getdesc = (id) => {
  return axios({
    url: '/api/goods/getdesc/' + id
  });
}